package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServiceSettlementFbBillQueryBillList struct {
	/*
	   提现时间     */
	PayTime *util.LocalTime `json:"pay_time,omitempty" `

	/*
	   总退款金额     */
	SumRefundAmount *string `json:"sum_refund_amount,omitempty" `

	/*
	   支付宝提现流水号     */
	PayTradeNo *string `json:"pay_trade_no,omitempty" `

	/*
	   工单费用清单     */
	FeeList *[]TmallServiceSettlementFbBillQueryFeeList `json:"fee_list,omitempty" `

	/*
	   工单ID     */
	WorkcardId *int64 `json:"workcard_id,omitempty" `

	/*
	   总增加费用金额     */
	SumAddAmount *string `json:"sum_add_amount,omitempty" `

	/*
	   费用产生时间     */
	BillTime *util.LocalTime `json:"bill_time,omitempty" `

	/*
	   提现金额     */
	PayAmount *string `json:"pay_amount,omitempty" `

	/*
	   分成金额     */
	FcAmount *string `json:"fc_amount,omitempty" `

	/*
	   抽佣比例     */
	PlatformCommissionRate *string `json:"platform_commission_rate,omitempty" `

	/*
	   总服务费用金额     */
	SumServiceAmount *string `json:"sum_service_amount,omitempty" `

	/*
	   提现支付宝备注     */
	PayTradeNotice *string `json:"pay_trade_notice,omitempty" `
}

func (s *TmallServiceSettlementFbBillQueryBillList) SetPayTime(v util.LocalTime) *TmallServiceSettlementFbBillQueryBillList {
	s.PayTime = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetSumRefundAmount(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.SumRefundAmount = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetPayTradeNo(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.PayTradeNo = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetFeeList(v []TmallServiceSettlementFbBillQueryFeeList) *TmallServiceSettlementFbBillQueryBillList {
	s.FeeList = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetWorkcardId(v int64) *TmallServiceSettlementFbBillQueryBillList {
	s.WorkcardId = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetSumAddAmount(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.SumAddAmount = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetBillTime(v util.LocalTime) *TmallServiceSettlementFbBillQueryBillList {
	s.BillTime = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetPayAmount(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.PayAmount = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetFcAmount(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.FcAmount = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetPlatformCommissionRate(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.PlatformCommissionRate = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetSumServiceAmount(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.SumServiceAmount = &v
	return s
}
func (s *TmallServiceSettlementFbBillQueryBillList) SetPayTradeNotice(v string) *TmallServiceSettlementFbBillQueryBillList {
	s.PayTradeNotice = &v
	return s
}
